3.1440 \(\int (b d+2 c d x) (a+b x+c x^2)^p \, dx\)

Optimal. Leaf size=21 \[ \frac {d \left (a+b x+c x^2\right )^{p+1}}{p+1} \]

[Out]

d*(c*x^2+b*x+a)^(1+p)/(1+p)

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.045, Rules used = {629} \[ \frac {d \left (a+b x+c x^2\right )^{p+1}}{p+1} \]

Antiderivative was successfully verified.

[In]

Int[(b*d + 2*c*d*x)*(a + b*x + c*x^2)^p,x]

[Out]

(d*(a + b*x + c*x^2)^(1 + p))/(1 + p)

Rule 629

Int[((d_) + (e_.)*(x_))*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Simp[(d*(a + b*x + c*x^2)^(p +
 1))/(b*(p + 1)), x] /; FreeQ[{a, b, c, d, e, p}, x] && EqQ[2*c*d - b*e, 0] && NeQ[p, -1]

Rubi steps

\begin {align*} \int (b d+2 c d x) \left (a+b x+c x^2\right )^p \, dx &=\frac {d \left (a+b x+c x^2\right )^{1+p}}{1+p}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 20, normalized size = 0.95 \[ \frac {d (a+x (b+c x))^{p+1}}{p+1} \]

Antiderivative was successfully verified.

[In]

Integrate[(b*d + 2*c*d*x)*(a + b*x + c*x^2)^p,x]

[Out]

(d*(a + x*(b + c*x))^(1 + p))/(1 + p)

________________________________________________________________________________________

fricas [A]  time = 1.05, size = 32, normalized size = 1.52 \[ \frac {{\left (c d x^{2} + b d x + a d\right )} {\left (c x^{2} + b x + a\right )}^{p}}{p + 1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*c*d*x+b*d)*(c*x^2+b*x+a)^p,x, algorithm="fricas")

[Out]

(c*d*x^2 + b*d*x + a*d)*(c*x^2 + b*x + a)^p/(p + 1)

________________________________________________________________________________________

giac [A]  time = 0.16, size = 21, normalized size = 1.00 \[ \frac {{\left (c x^{2} + b x + a\right )}^{p + 1} d}{p + 1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*c*d*x+b*d)*(c*x^2+b*x+a)^p,x, algorithm="giac")

[Out]

(c*x^2 + b*x + a)^(p + 1)*d/(p + 1)

________________________________________________________________________________________

maple [A]  time = 0.05, size = 22, normalized size = 1.05 \[ \frac {d \left (c \,x^{2}+b x +a \right )^{p +1}}{p +1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((2*c*d*x+b*d)*(c*x^2+b*x+a)^p,x)

[Out]

d*(c*x^2+b*x+a)^(p+1)/(p+1)

________________________________________________________________________________________

maxima [A]  time = 1.38, size = 21, normalized size = 1.00 \[ \frac {{\left (c x^{2} + b x + a\right )}^{p + 1} d}{p + 1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*c*d*x+b*d)*(c*x^2+b*x+a)^p,x, algorithm="maxima")

[Out]

(c*x^2 + b*x + a)^(p + 1)*d/(p + 1)

________________________________________________________________________________________

mupad [B]  time = 0.52, size = 42, normalized size = 2.00 \[ {\left (c\,x^2+b\,x+a\right )}^p\,\left (\frac {a\,d}{p+1}+\frac {c\,d\,x^2}{p+1}+\frac {b\,d\,x}{p+1}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*d + 2*c*d*x)*(a + b*x + c*x^2)^p,x)

[Out]

(a + b*x + c*x^2)^p*((a*d)/(p + 1) + (c*d*x^2)/(p + 1) + (b*d*x)/(p + 1))

________________________________________________________________________________________

sympy [B]  time = 58.41, size = 112, normalized size = 5.33 \[ \begin {cases} \frac {a d \left (a + b x + c x^{2}\right )^{p}}{p + 1} + \frac {b d x \left (a + b x + c x^{2}\right )^{p}}{p + 1} + \frac {c d x^{2} \left (a + b x + c x^{2}\right )^{p}}{p + 1} & \text {for}\: p \neq -1 \\d \log {\left (\frac {b}{2 c} + x - \frac {\sqrt {- 4 a c + b^{2}}}{2 c} \right )} + d \log {\left (\frac {b}{2 c} + x + \frac {\sqrt {- 4 a c + b^{2}}}{2 c} \right )} & \text {otherwise} \end {cases} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*c*d*x+b*d)*(c*x**2+b*x+a)**p,x)

[Out]

Piecewise((a*d*(a + b*x + c*x**2)**p/(p + 1) + b*d*x*(a + b*x + c*x**2)**p/(p + 1) + c*d*x**2*(a + b*x + c*x**
2)**p/(p + 1), Ne(p, -1)), (d*log(b/(2*c) + x - sqrt(-4*a*c + b**2)/(2*c)) + d*log(b/(2*c) + x + sqrt(-4*a*c +
 b**2)/(2*c)), True))

________________________________________________________________________________________